package org.dromara.bykt.domain.vo;

import org.dromara.bykt.domain.BYKTCourseScore;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 考试分数视图对象 course_score
 *
 * @author Hou
 * @date 2025-06-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BYKTCourseScore.class)
public class BYKTCourseScoreVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 学生ID
     */
    @ExcelProperty(value = "学生ID")
    private Long stuId;

    /**
     * 课程ID
     */
    @ExcelProperty(value = "课程ID")
    private Long courseId;

    /**
     * 试卷ID
     */
    @ExcelProperty(value = "试卷ID")
    private Long simulationId;

    /**
     * 分数
     */
    @ExcelProperty(value = "分数")
    private Long score;

    /**
     * 考试所用时间（分钟）
     */
    @ExcelProperty(value = "考试所用时间", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "分=钟")
    private Long examSpentTime;


}
